﻿using System;

namespace HigLabo.Net.WindowsLive
{
    /// <summary>
    /// 
    /// </summary>
    public class GetFilesCommand : WindowsLiveCommand
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="graphApiPath">フォーマット: FOLDER_ID/files, me/skydrive/files, me/skydrive/shared, me/skydrive/shared/files, USER_ID/skydrive/files.</param>
        public GetFilesCommand(String graphApiPath)
            : base(graphApiPath)
        {

        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="graphApiPath">フォーマット: FOLDER_ID/files, me/skydrive/files, me/skydrive/shared, me/skydrive/shared/files, USER_ID/skydrive/files.</param>
        /// <param name="FileFilter"></param>
        public GetFilesCommand(String graphApiPath, FilterType filter)
            : base(graphApiPath)
        {
            this.UrlParameter = "&filter=" + filter.ToString().Replace(" ", "");
        }
    }
}
